.about-me {
  padding: 68px 0;
  color: #FFFFFF;
  background-color: #202020;
  box-sizing: border-box;
}

.about-me__title {
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  padding-bottom: 24px;
  border-bottom: 1px solid #DADADA;
}

.about-me__text,
.about-me__position {
  margin: 0 0 20px;
  font-weight: 500;
  font-size: 11px;
  line-height: 16px;
}

.about-me__text {
  font-weight: 400;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}

.about-me__content {
  max-width: 1280px;
  width: calc(100% - 28px);
  margin: 0 auto;
}

.about-me__wrapper {
  display: flex;
  flex-direction: column;
  margin: 60px auto 0;
}

.about-me__info {
  display: flex;
  flex-direction: column;
}

.about-me__name {
  margin: 0;
  font-weight: 400;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.04em;
}

.about-me__link {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
}

.about-me__link:hover {
  opacity: 0.8;
}


.about-me__photo {
  display: block;
  width: 292px;
  height: 352px;
  margin: 0 auto 40px;
  object-fit: contain;
  object-position: center center;
  border-radius: 10px;
  order: -1;
}

.about-me__student {
  margin: 20px 0 20px 0;
  font-weight: 500;
  font-size: 11px;
  line-height: 16px;
  text-decoration: none;
  color: #FFFFFF;
  transition: opacity .3s linear;
}

.about-me__student :hover {
  opacity: 0.7;
}

@media screen and (min-width: 650px) and (max-width: 769px) {
  .about-me {
    padding: 90px 0;
  }

  .about-me__title {
    font-size: 22px;
    line-height: 25px;
    padding-bottom: 24px;
  }

  .about-me__content {
    width: calc(100% - 100px);
  }

  .about-me__text {
    max-width: 600px;
    font-size: 12px;
    line-height: 18px;
    margin: 0 0 87px;
    letter-spacing: -0.025em;
  }

  .about-me__student {
    margin-top: 20px 0;
  }

  .about-me__photo {
    order: 0;
    margin: 0;
    width: 255px;
    height: 307px;
  }

  .about-me__wrapper {
    flex-direction: row;
    justify-content: space-between;
    gap: 49px;
    margin: 66px auto 0;
  }

  .about-me__name {
    margin: 0 0 16px;
    font-size: 40px;
    line-height: 40px;
  }

  .about-me__student {
    margin: 0 0 20px 0;
    font-size: 12px;
    line-height: 18px;
  }
}

@media screen and (min-width: 1279px) {
  .about-me {
    padding: 105px 0 130px;
  }

  .about-me__title {
    font-size: 22px;
    letter-spacing: -0.01em;
  }

  .about-me__content {
    width: calc(100% - 140px);
  }

  .about-me__wrapper {
    flex-direction: row;
    justify-content: space-between;
    gap: 250px;
    margin: 66px auto 0;
  }

  .about-me__photo {
    order: 0;
    margin: 0;
    width: 270px;
    height: 327px;
  }

  .about-me__link {
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 20px;
  }

  .about-me__student {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 20px;
  }

  .about-me__text {
    margin: 0 0 100px;
    font-size: 14px;
    line-height: 22px;
  }

  .about-me__name {
    margin: 0 0 18px;
    font-size: 50px;
    line-height: 58px;
  }
}